package org.jeecg.qis.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: qis_reinspect_cfg
 * @Author: LiCY
 * @Date:   2023-09-07
 * @Version: V1.0
 */
@Data
@TableName("qis_reinspect_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="qis_reinspect_cfg对象", description="qis_reinspect_cfg")
public class QisReinspectCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
    @ApiModelProperty(value = "主键")
    @TableId
    private Integer recId;
	/**产线*/
	@Excel(name = "产线", width = 15)
    @ApiModelProperty(value = "产线")
    private String line;
	/**工站*/
	@Excel(name = "工站", width = 15)
    @ApiModelProperty(value = "工站")
    @ExcelProperty(value = "工站")
    @ColumnWidth(8)
    private String op;
	/**不良描述*/
	@Excel(name = "不良描述", width = 15)
    @ApiModelProperty(value = "不良描述")
    @ExcelProperty(value = "不良描述")
    @ColumnWidth(8)
    private String description;
	/**默认处理类型*/
    @ApiModelProperty(value = "默认处理类型")
    @Dict(dicCode = "reinspectType")
    @Excel(name = "处理类型(返工、报废、冻结、标记为OK、标记为NG)", width = 50,dicCode = "reinspectType")
    private String type;
	/**默认处理方案（关联返工code表code字段）*/
    @ApiModelProperty(value = "默认处理方案（关联返工code表code字段）")
    @Excel(name = "处理方案代码", width = 30)
    private String defaultPlan;

    @Excel(name = "错误代码", width = 15)
    @ApiModelProperty(value = "错误代码")
    @ExcelProperty(value = "错误代码")
    @ColumnWidth(8)
    private String dc;
	/**顺序号*/
    @ApiModelProperty(value = "顺序号")
    @Excel(name = "顺序号", width = 15)
    private Integer sequence;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;

    @ApiModelProperty(value = "默认处理类型")
    @TableField("SAVE_TYP")
    private String saveTyp;
}
